
package org.xteam.pascal.parser.ast;

import org.xteam.parser.runtime.Span;

public class Goto extends Statement {
	
	public org.xteam.parser.runtime.reflect.AstNodeType getNodeType() {
		return PascalAstPackage.INSTANCE.getGotoType();
	}
	
	protected IntegerValue label;
	
	public Goto(Span span, IntegerValue label) {
		super(span);
		this.label = label;
	}
	
	
	public IntegerValue getLabel() {
		return label;
	}
	
	public void setLabel(IntegerValue label) {
		this.label = label;
	}
	

	public void visit(IPascalVisitor visitor) {
		visitor.visitGoto(this);
	}
}
